module.exports = {
    publicPath: './',
    outputDir: 'dist',
    assetsDir: 'static',
    lintOnSave: false,
    devServer: {
        port:8290,
        open: true,
        overlay: {
            warning: false,
            errors: false
        },
        proxy: {
            "/api": {//配置代理以“/api”
                target: "http://localhost:8190", //目标主机
                ws: true, //代理的WebSockets
                changeOrigin: true, //需要虚拟主机站点
                pathRewrite: {
                    "^/api": "/"
                }
            }
        },
    },
}
